﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Share/Index.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<% 
    IList li = (IList)ViewData["list"];    
%>
 <table id="mainTable" cellspacing="0">
        <caption style="color: red; font-size: 15px; font-weight: bold">被借阅记录列表</caption>
        <tr>
            <th>序号</th>
            <th>卡号</th>
            <th>借阅人姓名</th>
            <th>英文名</th>
            <th>借阅时间</th>
            <th>归还时间</th>
            </tr>
        <tbody name="mainlist">  
        <% 
            foreach (Hashtable tb in li)
            {
        %> 
        <tr>
        <td><%=tb["lbd_id"]%></td>
        <td><%=tb["ucard"]%></td>
        <td><%=tb["uname"] %></td>
        <td><%=tb["uename"] %></td>
        <td><%=tb["times"] %></td>
        <td><%=tb["timee"] %></td>
        </tr>
        <%
            }
        %>     
        </tbody>
    </table>
</asp:Content>
